Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-array-min

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-array-min

Get the minimum value in an array

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is ml-array-min?

The ml-array-min npm package is a utility for finding the minimum value in an array of numbers. It is part of the 'ml' (machine learning) suite of tools and is designed to be simple and efficient.

What are ml-array-min's main functionalities?

Find Minimum Value

This feature allows you to find the minimum value in an array of numbers. The code sample demonstrates how to use the ml-array-min package to find the minimum value in a given array.

const min = require('ml-array-min');
const array = [3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5];
const minimumValue = min(array);
console.log(minimumValue); // Output: 1

Other packages similar to ml-array-min

FAQs

Package last updated on 21 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc